package com.ygqh.baby.po;

import java.math.BigDecimal;
import java.util.Date;

import com.ygqh.baby.ao.DataStatus;

public class YgActivityGiveaway {
	private Long id;

	private String activityName;

	private String sourceCode;

	private String oldSourceCode;

	private BigDecimal payPrice;

	private String skuCode;

	private Date startDate;

	private Date endDate;

	private Long giveCount;

	private Long giveNumber;

	private Date createTime;

	private String createBy;

	private DataStatus status;

	private Date updateTime;

	private String updateBy;

	private Boolean checkStock;

	// ==============

	private Long hasGiveCount = 0L;

	public Long getHasGiveCount() {
		return hasGiveCount;
	}

	public void setHasGiveCount(Long hasGiveCount) {
		this.hasGiveCount = hasGiveCount;
	}

	public Boolean getCheckStock() {
		return checkStock;
	}

	public void setCheckStock(Boolean checkStock) {
		this.checkStock = checkStock;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName == null ? null : activityName.trim();
	}

	public String getSourceCode() {
		return sourceCode;
	}

	public void setSourceCode(String sourceCode) {
		this.sourceCode = sourceCode == null ? null : sourceCode.trim();
	}

	public BigDecimal getPayPrice() {
		return payPrice;
	}

	public void setPayPrice(BigDecimal payPrice) {
		this.payPrice = payPrice;
	}

	public String getSkuCode() {
		return skuCode;
	}

	public void setSkuCode(String skuCode) {
		this.skuCode = skuCode == null ? null : skuCode.trim();
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Long getGiveCount() {
		return giveCount;
	}

	public void setGiveCount(Long giveCount) {
		this.giveCount = giveCount;
	}

	public Long getGiveNumber() {
		return giveNumber;
	}

	public void setGiveNumber(Long giveNumber) {
		this.giveNumber = giveNumber;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy == null ? null : createBy.trim();
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy == null ? null : updateBy.trim();
	}

	public String getOldSourceCode() {
		return oldSourceCode;
	}

	public void setOldSourceCode(String oldSourceCode) {
		this.oldSourceCode = oldSourceCode;
	}
}